<div id="freshcvvupdatecart">
Cart Infomation
</div>
<table border="1" width="100%">
<tr class="classtopmenu">
<td>
Order
</td>
<td>
Name
</td>
<td>
CC Number
</td>
<td>
Ex Month
</td>
<td>
Ex Year
</td>
<td>
City
</td>
<td>
State
</td>
<td>
Zip
</td>
<td>
Country
</td>
<td>
Price
</td>
<td>Buy
</td>
</tr>
<?php
if($Plan=="our")
{
$i=1;
foreach($SearchCC as $ShowResult)
{
	$Country=$ShowResult['country'];
	?>
	<tr>
	<td>
	<?php echo $i;?>
	</td>
	<td>
	<?php echo $ShowResult['lastname'];?>
	</td>
	<td>
		<?php echo "<b>".substr($ShowResult['ccnumber'],0,6)."**********</b>";?>
	</td>
	<td>
		<?php echo $ShowResult['exmonth'];?>
	</td>
	<td>
		<?php echo $ShowResult['exyear'];?>
	</td>
	<td>
		<?php echo $ShowResult['city'];
		if(empty($ShowResult['city']))
		{
			echo "<b><i>NULL</i></b>";
		}
		?>
	</td>
	<td>
		<?php echo $ShowResult['state'];
	if(empty($ShowResult['state']))
		{
			echo "<b><i>NULL</i></b>";
		}
		?>
	</td>
	<td>
		<?php echo $ShowResult['zip'];
		if(empty($ShowResult['zip']))
		{
			echo "<b><i>NULL</i></b>";
		}
		?>
	</td>
	<td>
		<?php echo "<b>".$ShowResult['country']."</b>";?>
	</td>
	<td>
		<?php $Money=$ShowResult['price']+$MoneyPlus;
		echo $Money;
		?>
		
		
	</td>
	<td>
	<input id="ccid" name="ccid" value=<?php echo $ShowResult['ccid']; ?> type="checkbox" onclick="javascript:updatecart(<?php echo $ShowResult['ccid'].",".$Money.",".substr($ShowResult['ccnumber'],0,6).",'$Country'";?>);" />
	</td>
	</tr>
	<?php 
	$i++;
}
}
else if($Plan=="codesell")
{
	?>
	<tr class="classcodesellfont">
	<td colspan="13" >
	Country: <?php echo $Country;
	if(strlen($Bincc)>1)
	{
		echo "<br/>Bin: $Bincc";
	}
	?>
	<br/>Dob: <?php echo $Dob;?>
	<br/>
	
	</td>
	</tr>
	<?php 
	if($ccQuatity==0)
	{
		?>
		<tr class="classcodesellfound" >
	<td colspan="13" >
	Empty Result, plz change your option
	</td>
	</tr>
		<?php 
	}
	else
	{
	?>
	<tr class="classcodesellfound" >
	<td colspan="13" >
	We found <?php echo $ccQuatity; ?> cvvs with your choise with price <?php echo $Price;?>$ per one
	</td>
	</tr>
	<tr>
	<td colspan="4" class="classcodesellfound">
	<form name="checkout" method="post" action="checkout.php" >
	<p id="quatity" >
	Enter Quantity You want to buy: <input name="freshcvvquatity" id="freshcvvquatity" type="text" onmouseout="javascript:moneyhavetopay(<?php echo $Price;?>);" />
	</p>
	<p id="freshcvvcheckout"></p>
	</form>
	
	</td>
	<td colspan="9">
	<p id="freshcvvmoneypay" >
	</p>
	</td>
	</tr>
	<?php
	}
}
else
{
	if(empty($SearchCC))
	{
		?>
		<tr>
		<td colspan="13" >
		Not Found
		</td>
		</tr>
		<?php 
	}
	else
	{
	$i=1;
	foreach($SearchCC as $ShowCcInfo)
	{
		?>
		<tr>
		<td>
		<?php echo $i;?>
		</td>
		<td>
		<?php echo $ShowCcInfo['name'];?>
		</td>
		<td>
		<?php echo $ShowCcInfo['bin']."********";?>
		</td>
		<td>
		<?php echo $ShowCcInfo['exM'];
		?>
		</td>
		<td>
		<?php 
			echo $ShowCcInfo['exY'];
		?>
		</td>
		<td>
		<?php echo $ShowCcInfo['city'];?>
		</td>
		<td>
		<?php echo $ShowCcInfo['state'];?>
		</td>
		<td>
		<?php echo $ShowCcInfo['zip'];?>
		</td>
		<td>
		<?php echo $ShowCcInfo['country'];?>
		</td>
		<td>
		<?php echo $ShowCcInfo['price'];?>
		</td>
		<td>
	<input id="ccid" name="ccid" value=<?php echo $ShowCcInfo['ccid'];?> type="checkbox" onclick="javascript:updatecart(<?php echo $ShowCcInfo['ccid'].",".$ShowCcInfo['price'].",".$ShowCcInfo['bin'].",'$Country'";?>);" />
	</td>
		</tr>
		<?php 
		$i++;
	}
	}
}
?>
</table>